import request from"@/tools/request.js";
const login=(data)=>{
	return request.post("/login/UserLogin",data);
}

const checkLogin=()=>{
    return request.get("/Login/GetCurrentUserInfo");
}

const getUserByAccount=()=>{
    return request.get("/SysCustomers/GetCustomerByAccount");
}

const registe=(data)=>{
    return request.post("/SysCustomers/Register",data);
}

export {login,checkLogin,getUserByAccount,registe}